package com.linys.scala.study.demo

/**
  * Created by admin on 2019/10/11.
  */
object ComplexNumbers {
  def main(args: Array[String]): Unit = {
    val c = new Complex(1.2, 3.4)
    println("imaginary part: " + c.re)
    println("Overridden toString(): " + c.toString)
  }
}
